<script type="text/javascript">
	$(document).ready(function() {
		set_return_url();
	});
	
	function add() {
		window.open("{:U('add','fid='.$folder)}", "_self");
	}
</script>